package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.api.content.model.dto.CourseTeacherDTO;
import com.xuecheng.content.entity.CourseTeacher;

import java.util.List;

/**
 * <p>
 * 课程-教师关系表 服务类
 * </p>
 *
 * @author itcast
 * @since 2022-04-03
 */
public interface CourseTeacherService extends IService<CourseTeacher> {

    //根据ID查询教师信息功能
    List<CourseTeacherDTO> queryCourseTeacherbyCourseId(Long courseBaseId, Long companyId);

    //新增和修改教师信息功能
    CourseTeacherDTO creatCourseTeacher(CourseTeacherDTO courseTeacherDTO);

    //删除教师信息功能
    void removeCourseTeacher(Long courseBaseId, Long courseTeacherId);
}
